package org.jeecg.modules.wxchar.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 供需发布情况
 * @Author: jeecg-boot
 * @Date:   2019-08-29
 * @Version: V1.0
 */
@Data
@TableName("LM_NEED_RELEASE")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="LM_NEED_RELEASE对象", description="供需发布情况")
public class NeedRelease {
    
	/**主键ID*/
	@TableId(type = IdType.UUID)
    @ApiModelProperty(value = "主键ID")
	private java.lang.String id;
	/**名称*/
	@Excel(name = "名称", width = 15)
	@ApiModelProperty(value = "名称")
	private java.lang.String name;
	/**联系人*/
	@Excel(name = "联系人", width = 15)
    @ApiModelProperty(value = "联系人")
	private java.lang.String linkman;
	/**联系电话*/
	@Excel(name = "联系电话", width = 15)
    @ApiModelProperty(value = "联系电话")
	private java.lang.String phone;
	/**地址*/
	@Excel(name = "地址", width = 15)
    @ApiModelProperty(value = "地址")
	private java.lang.String address;
	/**分类(1收购，2出售)*/
	@Excel(name = "分类(1收购，2出售)", width = 15)
    @ApiModelProperty(value = "分类(1收购，2出售)")
	private java.lang.String type;
	/**品种*/
	@Excel(name = "品种", width = 15)
    @ApiModelProperty(value = "品种")
	private java.lang.String bread;

	/**品种名称*/
	@TableField(exist = false)
	private java.lang.String breadName;
	/**重量（KG）*/
	@Excel(name = "重量（KG）", width = 15)
    @ApiModelProperty(value = "重量（KG）")
	private java.lang.Integer weight;
	/**单价（元）*/
	@Excel(name = "单价（元）", width = 15)
    @ApiModelProperty(value = "单价（元）")
	private java.lang.Double price;
	/**详细内容*/
	@Excel(name = "详细内容", width = 15)
	@ApiModelProperty(value = "详细内容")
	private java.lang.String context;
	/**图片地址*/
	@Excel(name = "图片地址", width = 15)
    @ApiModelProperty(value = "图片地址")
	private java.lang.String imgUrl;
	/**状态（已发布，已成交）*/
	@Excel(name = "状态（已发布，已成交）", width = 15)
    @ApiModelProperty(value = "状态（0已发布，1已成交）")
	private java.lang.String status;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private java.lang.String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	/**修改人*/
	@Excel(name = "修改人", width = 15)
    @ApiModelProperty(value = "修改人")
	private java.lang.String updateBy;
	/**修改时间*/
	@Excel(name = "修改时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
	private java.util.Date updateTime;
}
